'''
对数据排序
'''
from pandas import DataFrame


def sort_data(data: DataFrame, sort_param: str):
    data.sort_values(by=sort_param,ascending=True,inplace=True)
